﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using VCC.Lib.Paging;
using VCC.Model;

namespace VCC.Site.ViewModels
{
    public class ArticleIndexViewModel
    {
        public IPagedList<Article> Articles {get;set;}
        public ArticleCategory ArticleCategory { get; set; }
        public string Keyword { get; set; }
        public string ImagePath { get; set; }
        public string RootImageUrl { get; set; }
        public int LanguageID { get; set; }
    }
    public class ArticleDetailViewModel
    {
        public Article Article { get; set; }
        public ArticleCategory ArticleCategory {get; set;}
    }
    public class TopNewsViewModel
    {
        public List<Article> Articles { get; set; }
        public List<Article> HotNews { get; set; }
        public ArticleCategory ArticleCategory { get; set; }
        public int LanguageID { get; set; }
    }
    public class GetNewsByCatViewModel
    {
        public List<Article> Articles { get; set; }
        public ArticleCategory ArticleCategory { get; set; }
        public int LanguageID { get; set; }
    }
    public class GetQuestionViewModel
    {
        public int LanguageID { get; set; }
        public List<Article> Articles { get; set; }
        public ArticleCategory ArticleCategory { get; set;}
    }
}
